﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Runtime.Serialization;
using System.ServiceModel;


namespace CodeGenerate
{


    [DataContract]
    public class StoredProcedureParam
    {

        [DataMember]
        public string ParameterName { get; set; }
        [DataMember]
        public SqlDbType SqlDbType { get; set; }
        [DataMember]
        public DbType DbType { get; set; }
        [DataMember]
        public ParameterDirection Direction { get; set; }

        [DataMember]
        public bool IsNullable { get; set; }
        [DataMember]
        public byte Precision { get; set; }
        [DataMember]
        public string SourceColumn { get; set; }
        [DataMember]
        public  object Value { get; set; }
        [DataMember]
        public object SqlValue { get; set; }
        [DataMember]
        public string TypeName { get; set; }
        [DataMember]
        public  int Size { get; set; }
    }
}
